<?php 
include('segments/_header_.php');
?>
	<body>
		<h1>收集配置信息</h1>
		<form class="ysi-form ysi-form-w8" action="index.php?step=4" method="post">
			<div class="ysi-form-row">
				<div class="ysi-form-label"><label for="domain">域名</label></div>
				<div class="ysi-form-field">
					<input class="ysi-form-text" type="text" size="16" value="<?=$domain?>" id="domain" name="domain" />
					<span class="ysi-form-note">网站的域名</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="ysi-form-row">
				<div class="ysi-form-label"><label for="base">虚拟目录</label></div>
				<div class="ysi-form-field">
					<input class="ysi-form-text" type="text" size="16" value="<?=$base?>" id="base" name="base" />
					<span class="ysi-form-note">网站的虚拟目录</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="ysi-form-row">
				<div class="ysi-form-label"><label for="path">安装目录</label></div>
				<div class="ysi-form-field">
					<input class="ysi-form-text" type="text" size="16" value="<?=$path?>" id="path" name="path" />
					<span class="ysi-form-note">YPress安装的目录，不需要最后的路径分隔符</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="ysi-form-row">
				<div class="ysi-form-label"><label for="db_type">Mysql连接方式</label></div>
				<div class="ysi-form-field">
					<input class="ysi-form-text" type="text" size="16" value="<?=$db_type?>" id="db_type" name="db_type" />
					<span class="ysi-form-note"></span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="ysi-form-row">
				<div class="ysi-form-label"><label for="db_host">数据库域名</label></div>
				<div class="ysi-form-field">
					<input class="ysi-form-text" type="text" size="16" value="<?=$db_host?>" id="db_host" name="db_host" />
					<span class="ysi-form-note">数据库的域名</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="ysi-form-row">
				<div class="ysi-form-label"><label for="db_port">数据库连接端口</label></div>
				<div class="ysi-form-field">
					<input class="ysi-form-text" type="text" size="16" value="<?=$db_port?>" id="db_port" name="db_port" />
					<span class="ysi-form-note">数据库的域名</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="ysi-form-row">
				<div class="ysi-form-label"><label for="db_name">数据库名字</label></div>
				<div class="ysi-form-field">
					<input class="ysi-form-text" type="text" size="16" value="<?=$db_name?>" id="db_name" name="db_name" />
					<span class="ysi-form-note">您想要让 YPress 使用的数据库的名字</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="ysi-form-row">
				<div class="ysi-form-label"><label for="db_user">数据库用户名</label></div>
				<div class="ysi-form-field">
					<input class="ysi-form-text" type="text" size="16" value="<?=$db_user?>" id="db_user" name="db_user" />
					<span class="ysi-form-note">连接到数据库的用户名</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="ysi-form-row">
				<div class="ysi-form-label"><label for="db_password">数据库密码</label></div>
				<div class="ysi-form-field">
					<input class="ysi-form-text" type="text" size="16" value="<?=$db_password?>" id="db_password" name="db_password" />
					<span class="ysi-form-note">以及该用户名对应的密码</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="ysi-form-row ysi-form-indent">
		        <div class="ysi-form-field">
		          <input class="action-normal" type="submit" value="继续"/>
		        </div>
				<div class="clear"></div>
		    </div>
		</form>
	</body>
</html>